package com.qcby.byc.demo0422.mapper;

import com.qcby.byc.demo0422.entity.Depart;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: PersonMapper
 * @description:
 * @author: lxt
 * @create: 2021-04-22 17:15
 **/
public interface DepartMapper {

    Depart getById1(@Param("id1") Long id);

    void  save(@Param("depart")Depart depart);

    List<Depart> listAllDepartNew(@Param("depart")Depart depart);
    List<Depart> listAllDepartAndManager();
}
